/*用户信息*/
myApp.factory('$serUser',function ($resource,URL) {
    var setSend = function(data, url){
        data = data || {};
        url = URL + url;
        return $resource(url)
            .save(data)
            .$promise;
    };
    return {
        /*获得“我的”页信息*/
        myInfo: function(data){
            return setSend(data,'Vendor/getMyInfo');
        },
        signInfo:function (data) {
            return setSend(data,'Checkin/getInfo');
        },
        signK: function(data){
            return setSend(data,'Checkin/checkin');
        }
    }
});